package com.cloudwise.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * (Tester)表实体类
 *
 * @author makejava
 * @since 2021-11-25 09:42:21
 */
@SuppressWarnings("serial")
@TableName("tbl_tester")
public class Tester extends Model<Tester> {
    /**
     * 编号,value代表数据库主键的名字，type代表主键自增
     */
    @TableId(value = "tester_Id" ,type = IdType.AUTO)
    private Integer testerId;
    
    private String testerName;
    
    private String testerPhone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testTime;


    public Integer getTesterId() {
        return testerId;
    }

    public void setTesterId(Integer testerId) {
        this.testerId = testerId;
    }

    public String getTesterName() {
        return testerName;
    }

    public void setTesterName(String testerName) {
        this.testerName = testerName;
    }

    public String getTesterPhone() {
        return testerPhone;
    }

    public void setTesterPhone(String testerPhone) {
        this.testerPhone = testerPhone;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }


    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.testerId;
    }
    }

